package com.easyse.servicesystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.easyse.model.DO.system.Menu;
import com.easyse.servicesystem.service.MenuService;
import com.easyse.servicesystem.mapper.MenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 25405
* @description 针对表【system_menu(菜单权限表)】的数据库操作Service实现
* @createDate 2022-10-19 10:58:22
*/
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu>
    implements MenuService {

    @Autowired
    MenuMapper menuMapper;

    public List<String> selectPermsByUserId(Long id){
        return menuMapper.selectPermsByUserId(id);
    }

}




